import requests

url = f"https://www.badmintoncn.com/search.php?keyword=%CA%AF%D3%EE%C6%E6"

headers = {
    "User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 Edg/135.0.0.0"
}

resp = requests.get(url,headers = headers);
with open("syq.html",mode="w",encoding="gbk") as f:
    f.write(resp.content.decode("gbk"))
print(resp)